﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace PowerBooking.RSE.Utility.Helpers
{
    /// <summary>
    /// 
    /// </summary>
    public class AppSettingHelper
    {
        public static T GetAppSetting<T>(string key)
        {
            return (T)Convert.ChangeType(ConfigurationManager.AppSettings[key], typeof(T));
        }
    }
}
